package com.ruicar.afs.cloud.account.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.account.common.entity.VoucherAtom;
import com.ruicar.afs.cloud.account.dto.atom.VoucherAtomDto;
import com.ruicar.afs.cloud.account.vo.VoucherAtomVo;
import com.ruicar.afs.cloud.common.core.query.QueryCondition;
import com.ruicar.afs.cloud.common.core.util.IResponse;

import java.util.List;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/6/23 20:34
 */
public interface VoucherAtomService extends IService<VoucherAtom> {
    Boolean addVoucherAtom(VoucherAtomVo voucherAtomVo);

    Boolean delVoucherAtom(String atomId);

    Boolean modifyVoucherAtom(VoucherAtomVo voucherAtomVo);

    IResponse query(QueryCondition<VoucherAtomVo> queryCondition);

    IResponse<List<VoucherAtomDto>> queryAtomsByBizType(String bizType);
}
